package com.xpec.c4.db.model.basic;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 各遊戲jp不同，由各遊戲自定義其他jp，基礎類別僅定義單一jp
 * @author TW15012
 *
 */
@MappedSuperclass
public class SlotJPBasicModel extends BasicGameModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3744335347210612660L;
	
	/**
	 * 遊戲館類別
	 * 
	 * @see define by game
	 */
	private String halltype;
	
	/**
	 * 幣值比
	 */
	private BigDecimal gainRate;
	
	/**
	 * 隱藏jp金額
	 */
	private BigDecimal hjp;
	
	/**
	 * 隱藏jp歷史總累積金額
	 */
	private BigDecimal hjpall;
	
	/**
	 * 隱藏jp總遺失累積金額
	 */
	private BigDecimal hjplosttotal;
	
	/**
	 * jackpot  - 霸王彩
	 */
	private BigDecimal jpvalue1;
	
	/**
	 * jackpot 抽水 - 霸王彩
	 */
	private BigDecimal jpdraw1;
	
	
	/**
	 * jackpot 歷史累積 -霸王彩
	 */
	private BigDecimal jpall1;
	
	
	/**
	 * jp隨機數 - 霸王彩
	 */
	private BigDecimal jprand1;
	
	/**
	 * 更新時間
	 */
	private long modify_time;
	
	/**
	 * 創建時間
	 */
	private long create_time;
	
	@Column(name="halltype" , columnDefinition="VARCHAR(20) default \'\'")
	public String getHalltype() {
		return halltype;
	}

	public void setHalltype(String halltype) {
		this.halltype = halltype;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjp() {
		return hjp;
	}

	public void setHjp(BigDecimal hjp) {
		this.hjp = hjp;
	}
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjpall() {
		return hjpall;
	}

	public void setHjpall(BigDecimal hjpall) {
		this.hjpall = hjpall;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjplosttotal() {
		return hjplosttotal;
	}

	public void setHjplosttotal(BigDecimal hjplosttotal) {
		this.hjplosttotal = hjplosttotal;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpvalue1() {
		return jpvalue1;
	}

	public void setJpvalue1(BigDecimal jpvalue1) {
		this.jpvalue1 = jpvalue1;
	}
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpdraw1() {
		return jpdraw1;
	}

	public void setJpdraw1(BigDecimal jpdraw1) {
		this.jpdraw1 = jpdraw1;
	}
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpall1() {
		return jpall1;
	}

	public void setJpall1(BigDecimal jpall1) {
		this.jpall1 = jpall1;
	}
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJprand1() {
		return jprand1;
	}

	public void setJprand1(BigDecimal jprand1) {
		this.jprand1 = jprand1;
	}

	public long getModify_time() {
		return modify_time;
	}

	public void setModify_time(long modify_time) {
		this.modify_time = modify_time;
	}

	public long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 1.0")
	public BigDecimal getGainRate() {
		return gainRate;
	}

	public void setGainRate(BigDecimal gainRate) {
		this.gainRate = gainRate;
	}
	
}
